tangs=set(['hello','world','1'])
while tangs:
    tang=tangs.pop()
    print(tang)    

tangs=set(['hello','world','1'])
for name in (tangs):
    print(name)

tangs=list([10,20,3,0,5,6,7,8,9,10])
for i in range(len(tangs)):
    print(tangs[i])